safe exploration
Information-TheoreticSafeExplorationwith GaussianProcesses
Acommon approach istoplace aGaussian process prior on the unknown constraint and allowevaluations only inregions that are safe with high probability. Most current methods rely on a discretization of the domain and cannot be directly extended to the continuous case. Moreover, the way in which they exploit regularity assumptions about the constraint introduces an additional critical hyperparameter.
Learning Human-like Representations to Enable Learning Human Values Andrea H. Wynn
How can we build AI systems that can learn any set of individual human values both quickly and safely, avoiding causing harm or violating societal standards for acceptable behavior during the learning process? We explore the effects of representational alignment between humans and AI agents on learning human values.
Controlling Underestimation Bias in Constrained Reinforcement Learning for Safe Exploration
Gao, Shiqing, Ding, Jiaxin, Fu, Luoyi, Wang, Xinbing
Abstractwith safety requirements (Stooke et al., 2020; Xu et al., 2021; Yang et al., 2022; Gao et al., 2024), such as roboticsConstrained Reinforcement Learning (CRL) aims to maximize cumulative rewards while satisfy- (Tang et al., 2024) and autonomous driving (Zhang et al., ing constraints. However, existing CRL meth-rithms often encounter significant constraint viods often exhibit persistent constraint violations during pol-olations during training, limiting their applicaicy training (Sootla et al., 2022a;b), undermining their relia-bility in safety-critical scenarios. In this paper, we identify the underestimation of the cost valuebility in real-world deployments. To address this issue, we propose thetion of the cost value. In CRL, unsafe high-cost regions pose Memory-driven Intrinsic Cost Estimation (MICE) the risk of constraint violations, prompting policy updates method, which introduces intrinsic costs to miti-to reduce the cost value. Inspired by flashbulb memory, under a minimization objective (Thrun & Schwartz, 2014), where humans vividly recall dangerous experi-resulting in cost underestimation. Consequently, high-cost ences to avoid risks, MICE constructs a mem-states may appear deceptively safe, enticing the agent to exory module that stores previously explored unsafeplore them for potentially high rewards. This underestimastates to identify high-cost regions. The intrinsiction leads to frequent constraint violations during training, cost is formulated as the pseudo-count of the cur-even when an optimal safe policy theoretically exists. Furthermore, Although biases in cost estimation are generally undesir-we propose an extrinsic-intrinsic cost value funcable, they are not inherently detrimental and can enhancetion that incorporates intrinsic costs and adopts policy learning and exploration in certain scenarios (Lana bias correction strategy. Using this function, we formulate an optimization objective withinet al., 2020; Karimpanal et al., 2023). Underestimation genthe trust region, along with corresponding opti-erally encourages exploration, while overestimation tends to discourage exploration. Theoretically, we provide conoverestimation can help prevent unsafe exploration to re-vergence guarantees for the proposed cost value duce risks, whereas underestimation may induce excessivefunction and establish the worst-case constraint violation for the MICE update.
Safe Exploration in Reinforcement Learning: A Generalized Formulation and Algorithms
Safe exploration is essential for the practical use of reinforcement learning (RL) in many real-world scenarios. In this paper, we present a generalized safe exploration (GSE) problem as a unified formulation of common safe exploration problems. We then propose a solution of the GSE problem in the form of a meta-algorithm for safe exploration, MASE, which combines an unconstrained RL algorithm with an uncertainty quantifier to guarantee safety in the current episode while properly penalizing unsafe explorations before actual safety violation to discourage them in future episodes. The advantage of MASE is that we can optimize a policy while guaranteeing with a high probability that no safety constraint will be violated under proper assumptions. Specifically, we present two variants of MASE with different constructions of the uncertainty quantifier: one based on generalized linear models with theoretical guarantees of safety and near-optimality, and another that combines a Gaussian process to ensure safety with a deep RL algorithm to maximize the reward. Finally, we demonstrate that our proposed algorithm achieves better performance than state-of-the-art algorithms on grid-world and Safety Gym benchmarks without violating any safety constraints, even during training.
Safe Exploration for Interactive Machine Learning
In interactive machine learning (IML), we iteratively make decisions and obtain noisy observations of an unknown function. While IML methods, e.g., Bayesian optimization and active learning, have been successful in applications, on real-world systems they must provably avoid unsafe decisions. To this end, safe IML algorithms must carefully learn about a priori unknown constraints without making unsafe decisions. Existing algorithms for this problem learn about the safety of all decisions to ensure convergence. This is sample-inefficient, as it explores decisions that are not relevant for the original IML objective.
Neurosymbolic Reinforcement Learning with Formally Verified Exploration
A key challenge for provably safe deep RL is that repeatedly verifying neural networks within a learning loop is computationally infeasible. We address this challenge using two policy classes: a general, neurosymbolic class with approximate gradients and a more restricted class of symbolic policies that allows efficient verification. Our learning algorithm is a mirror descent over policies: in each iteration, it safely lifts a symbolic policy into the neurosymbolic space, performs safe gradient updates to the resulting policy, and projects the updated policy into the safe symbolic subset, all without requiring explicit verification of neural networks. Our empirical results show that REVEL enforces safe exploration in many scenarios in which Constrained Policy Optimization does not, and that it can discover policies that outperform those learned through prior approaches to verified exploration.
Safe Exploration in Finite Markov Decision Processes with Gaussian Processes
In classical reinforcement learning agents accept arbitrary short term loss for long term gain when exploring their environment. This is infeasible for safety critical applications such as robotics, where even a single unsafe action may cause system failure or harm the environment. In this paper, we address the problem of safely exploring finite Markov decision processes (MDP). We define safety in terms of an a priori unknown safety constraint that depends on states and actions and satisfies certain regularity conditions expressed via a Gaussian process prior. We develop a novel algorithm, SAFEMDP, for this task and prove that it completely explores the safely reachable part of the MDP without violating the safety constraint. To achieve this, it cautiously explores safe states and actions in order to gain statistical confidence about the safety of unvisited state-action pairs from noisy observations collected while navigating the environment. Moreover, the algorithm explicitly considers reachability when exploring the MDP, ensuring that it does not get stuck in any state with no safe way out. We demonstrate our method on digital terrain models for the task of exploring an unknown map with a rover.